SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
-- =============================================
-- Author:		Alhassan Nageh
-- Create date: 12/8/2012
-- Description:	Update SmartTech Interviews
-- =============================================
CREATE PROCEDURE [EditSmartTechInterviews]
	-- Add the parameters for the stored procedure here
	@Id int = 0,
	@value int = 0
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	update SmartTechInterviews 
	set Count=((select Count from SmartTechInterviews where @Id=Id)+@value) 
	where @Id = Id
	
END
GO
